body {
    min-width: 320px;
    max-width: 750px;
    margin: 0 auto;
}
* {
    margin: 0;
    padding: 0;
}
li {
    list-style: none;
}
// 约束当屏幕大于750px后固定HTML字体大小,注意要提高权重
@media screen and (min-width: 750px) {
    html {
        font-size: 75px!important;
    }
}
// ------------------------头部模块
.header {
    width: 100%;
    height: 1.066667rem;
    line-height: 1.066667rem;
    text-align: center;
    font-size: .466667rem;
    border-bottom: 2px solid #EAEAEA;
    color: #1C1C1C;
}
// ------------------------导航栏模块
.nav {
    display: flex;
    flex-wrap: wrap;
    margin: .586667rem 0;
    .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 33.3333%;
        img {
            width: 1.853333rem;
            height: 1.853333rem;
        }
        span {
            font-size: .333333rem;
            color: #707070;
        }
        &:nth-child(n + 4) {
            margin-top: .933333rem;
        }
    }
}
// ------------------------广告 GO 模块
.advertisement {
    position: relative;
    margin-bottom: .573333rem;
    img {
        width: 9.626667rem;
        height: 2.026667rem;
        margin-left: .186667rem;
    }
    .go {
        position: absolute;
        top: 50%;
        right: .426667rem;
        transform: translate(0,-50%);
        display: block;
        width: 1.666667rem;
        height: 1.666667rem;
        border-radius: 50%;
        background-color: transparent;
        z-index: 9999;
    }
}
// ------------------------就业指导模块和充电学习模块公共头部
.content {
    border-top: 10px solid #F2F4F7;
    .con-hd {
        display: flex;
        justify-content: space-between;
        height: .506667rem;
        line-height: .506667rem;
        margin: .533333rem 0;
        .title {
            img {
                position: relative;
                top: -0.066667rem;
                left: 0;
                width: .506667rem;
                height: .506667rem;
                vertical-align: middle;
                margin: 0 .24rem 0 .293333rem;
            }
            span {
                display: inline-block;
                font-size: .373333rem;
                font-weight: bold;
                color: #333333;
            }
        }
        a {
            margin-right: .32rem;
            font-size: .293333rem;
            color: #999999;
        }
    }
    // ------------------------就业指导模块
    .employment-bd {
        // 用定位把左右切换箭头移出来
        position: relative;
        margin-bottom: .533333rem;
        // swiper制作轮播图模块
        .swiper-container {
            width: 7.2rem;
            height: 100%;
        }
        .swiper-button-next {
            right: .4rem;
        }
        .swiper-button-prev {
            left: .4rem;
        }
        .swiper-button-next,
        .swiper-button-prev {
            color: black;
        }
        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;
            // 这里多加一行，把y轴设为主轴
            flex-direction: column;
            /* Center slide text vertically */
            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;
            transition: 300ms;
            // 这是设置两边的图，最后一行进行了缩放，同时进行减亮度
            transform: scale(0.8);
            opacity: .4;
            img {
                width: 4.506667rem;
                height: 5.013333rem;
            }
            p {
                width: 4.506667rem;
                font-size: .333333rem;
                color: #333;
                margin-top: .32rem;
            }
        }
        // 这是中间最大的那张图，没有进行缩放
        .swiper-slide-active,
        .swiper-slide-duplicate-active {
            transform: scale(1);
            opacity: 1;
            z-index: 999;
        }
    }
    // ------------------------充电学习模块
    .study-bd {
        margin-bottom: 150px;
        overflow: hidden;
        .swiper {
            width: 100%;
            height: 100%;
        }
        .swiper-wrapper {
            margin-left: .4rem;
        }
        .swiper-slide {
            font-size: 18px;
            background: #fff;
            width: 3.866667rem;
            height: 4.533333rem;
            padding: .133333rem 0;
            background-color: #fff;
            border-radius: .066667rem;
            box-shadow: 0 0 10px rgba(0, 0, 0, .1);
            .img {
                margin: .066667rem .106667rem;
            }
            .introduce {
                padding: .266667rem .133333rem;
                font-size: .333333rem;
            }
            .study-num {
                padding-left: .133333rem;
                font-size: .333333rem;
                color: #999;
            }
        }
    }
}
// ------------------------底部固定模块
.footer {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.506667rem;
    margin-top: .373333rem;
    border-top: 2px solid #E2E2E2;
    background-color: #fff;
    z-index: 9999;
    a {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        span {
            margin-top: .186667rem;
            color: #666666;
            font-size: .293333rem;
        }
    }
}